home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 3
/
Info_Mac_1994-01.iso
/
Development
/
General
/
Appsprites
/
USER CODE
/
Application.h
< prev
next >
Wrap
Text File
|
1993-07-09
|
1KB
|
54 lines
///--------------------------------------------------------------------------------------
// Application.h
//
// Created: Sunday, April 11, 1993
// By: Tony Myles
//
// Copyright: © 1993 Tony Myles, All rights reserved worldwide.
///--------------------------------------------------------------------------------------
#ifndef __APPLICATION__
#define __APPLICATION__
enum
{
kNumberOfMoreMastersCalls = 3
};
enum
{
kWindowResID = 1
};
enum
{
kErrorAlertResID = 132,
kCantRunAlertResID = 133,
kErrorStringListResID = 128,
kFatalErrorStringIndex = 1,
kCantFindResourceStringIndex = 2
};
#define kSeriousDamageString "\pCould not even get error string!\rThis application is seriously damaged!"
#ifdef __cplusplus
extern "C" {
#endif
void InitializeMasters(short numberOfMasters);
Boolean CheckSystem(void);
void CreateWindow(void);
void ErrorAlert(OSErr err, short errorStringIndex);
void FatalError(OSErr err);
void CantFindResource(void);
void CantRunOnThisMachine(void);
#ifdef __cplusplus
};
#endif
#endif /* __APPLICATION__ */